-
Home
-
Jigoshop eCommerce
-
2.1.18 (latest)
-
Code
-
Classes
- CartService
Total Complexity |
65 |
Dependencies |
18 |
Dependents |
1 |
Total lines |
393 |
Lines of code |
242 |
Logical lines of code |
154 |
Comment lines |
67 |
Methods |
14 |
Properties |
10 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validateAddress() |
A |
47 |
14 |
36 |
getStateFromSession() |
A |
50 |
8 |
29 |
validate() |
A |
49 |
7 |
34 |
generateCartId() |
S |
55 |
7 |
18 |
getStateFromCheckout() |
S |
52 |
6 |
24 |
get() |
S |
53 |
6 |
21 |
save() |
S |
53 |
5 |
24 |
createFromOrder() |
S |
53 |
4 |
22 |
__construct() |
S |
58 |
2 |
15 |
remove() |
S |
68 |
2 |
7 |
init() |
S |
81 |
1 |
3 |
getCurrent() |
S |
80 |
1 |
3 |
getCartIdForCurrentUser() |
S |
82 |
1 |
3 |
prepareAddressError() |
S |
78 |
1 |
3 |